• Main page
  • Introduction
  • Hello, world!
  • Basics
    • How to write the layout
    • Structure of the data file and the layout rules
    • Outputting objects
    • Grid
    • Areas on the page (PositioningArea)
    • File organization
    • Hyphenation / language settings
    • Using fonts
    • Text formats
    • Text formatting
    • Colors
  • Programming
  • Image inclusion
  • Tables
  • Publisher Webservice API
  • Advanced topics
    • Bookmarks
    • Enumeration lists
    • Creation of XML structures
    • Print output / crop marks
    • Using CSS with the speedata Publisher
    • Groups (virtual objects)
    • Virtual pages
    • Markdown
    • Rotation of contents
    • Sorting data
    • Wrap around images
    • Page types
    • Attach files to the PDF
    • Starting the Publisher via the Hotfolder
    • Lua-Filter / pre-processing
    • Accessibility / tagged PDF
    • Schema validation
    • Quality assurance and PDF comparison
    • Troubleshooting / Debugging
    • Server mode (REST API)
    • Control of the layout when calling the Publisher
    • Create and use images with MetaPost
  • Cookbook
    • Thumb index
    • Embed multipage PDF files
    • Layout optimization using groups
    • Automatically generated directories
    • Create table of contents in one go
    • Page numbers: Page x of y
  • Installation instructions
  • File name in the Publisher
  • speedata Publisher defaults
  • Running the speedata publisher on the command line
  • How to configure the speedata publisher
  • Lenghts and units
  • XPath and Layout Functions (old XPath module)
  • XPath and Layout Functions (new XPath module)
  • Internal variables
  • Associate XML editor with schema
    • Visual Studio Code
    • OxygenXML
  • speedata Publisher Pro plan
  • Changelog
  • Glossary
  • Compatibility with other software
  • Compatibility with older versions of the speedata Publisher
  • Command reference
    • Attribute index
    • A
    • Action
    • AddSearchpath
    • AtPageCreation
    • AtPageShipout
    • AttachFile
    • Attribute
    • B
    • Barcode
    • Bold
    • BoldItalic
    • Bookmark
    • Box
    • Br
    • Case
    • Circle
    • ClearPage
    • Clip
    • Color
    • Column
    • Columns
    • Compatibility
    • Contents
    • Copy-of
    • DefineColor
    • DefineColorprofile
    • DefineFontalias
    • DefineFontfamily
    • DefineGraphic
    • DefineMatter
    • DefineTextformat
    • Element
    • Fallback
    • Fontface
    • ForAll
    • Frame
    • Function
    • Grid
    • Group
    • Groupcontents
    • HSpace
    • Hyphenation
    • I
    • Image
    • Include
    • Initial
    • InsertPages
    • Italic
    • Layout
    • Li
    • LoadDataset
    • LoadFontfile
    • Loop
    • Makeindex
    • Margin
    • Mark
    • Message
    • NextFrame
    • NextRow
    • NoBreak
    • Ol
    • Options
    • Otherwise
    • Output
    • Overlay
    • Pageformat
    • Pagetype
    • Param
    • Paragraph
    • PDFOptions
    • PlaceObject
    • Position
    • PositioningArea
    • PositioningFrame
    • ProcessNode
    • Record
    • Regular
    • Rule
    • SaveDataset
    • SavePages
    • SetGrid
    • SetVariable
    • SortSequence
    • Stylesheet
    • Span
    • StructureElement
    • Sub
    • Sup
    • Switch
    • Table
    • TableNewPage
    • Tablefoot
    • Tablehead
    • Tablerule
    • Td
    • Text
    • Textblock
    • Tr
    • Trace
    • Transformation
    • U
    • Ul
    • Until
    • URL
    • Value
    • VSpace
    • While

Version 5.1.5
  • Main page
  • Introduction
  • Hello, world!
  • Basics
    • How to write the layout
    • Structure of the data file and the layout rules
    • Outputting objects
    • Grid
    • Areas on the page (PositioningArea)
    • File organization
    • Hyphenation / language settings
    • Using fonts
    • Text formats
    • Text formatting
    • Colors
  • Programming
  • Image inclusion
  • Tables
  • Publisher Webservice API
  • Advanced topics
    • Bookmarks
    • Enumeration lists
    • Creation of XML structures
    • Print output / crop marks
    • Using CSS with the speedata Publisher
    • Groups (virtual objects)
    • Virtual pages
    • Markdown
    • Rotation of contents
    • Sorting data
    • Wrap around images
    • Page types
    • Attach files to the PDF
    • Starting the Publisher via the Hotfolder
    • Lua-Filter / pre-processing
    • Accessibility / tagged PDF
    • Schema validation
    • Quality assurance and PDF comparison
    • Troubleshooting / Debugging
    • Server mode (REST API)
    • Control of the layout when calling the Publisher
    • Create and use images with MetaPost
  • Cookbook
    • Thumb index
    • Embed multipage PDF files
    • Layout optimization using groups
    • Automatically generated directories
    • Create table of contents in one go
    • Page numbers: Page x of y
  • Installation instructions
  • File name in the Publisher
  • speedata Publisher defaults
  • Running the speedata publisher on the command line
  • How to configure the speedata publisher
  • Lenghts and units
  • XPath and Layout Functions (old XPath module)
  • XPath and Layout Functions (new XPath module)
  • Internal variables
  • Associate XML editor with schema
    • Visual Studio Code
    • OxygenXML
  • speedata Publisher Pro plan
  • Changelog
  • Glossary
  • Compatibility with other software
  • Compatibility with older versions of the speedata Publisher
  • Command reference
    • Attribute index
    • A
    • Action
    • AddSearchpath
    • AtPageCreation
    • AtPageShipout
    • AttachFile
    • Attribute
    • B
    • Barcode
    • Bold
    • BoldItalic
    • Bookmark
    • Box
    • Br
    • Case
    • Circle
    • ClearPage
    • Clip
    • Color
    • Column
    • Columns
    • Compatibility
    • Contents
    • Copy-of
    • DefineColor
    • DefineColorprofile
    • DefineFontalias
    • DefineFontfamily
    • DefineGraphic
    • DefineMatter
    • DefineTextformat
    • Element
    • Fallback
    • Fontface
    • ForAll
    • Frame
    • Function
    • Grid
    • Group
    • Groupcontents
    • HSpace
    • Hyphenation
    • I
    • Image
    • Include
    • Initial
    • InsertPages
    • Italic
    • Layout
    • Li
    • LoadDataset
    • LoadFontfile
    • Loop
    • Makeindex
    • Margin
    • Mark
    • Message
    • NextFrame
    • NextRow
    • NoBreak
    • Ol
    • Options
    • Otherwise
    • Output
    • Overlay
    • Pageformat
    • Pagetype
    • Param
    • Paragraph
    • PDFOptions
    • PlaceObject
    • Position
    • PositioningArea
    • PositioningFrame
    • ProcessNode
    • Record
    • Regular
    • Rule
    • SaveDataset
    • SavePages
    • SetGrid
    • SetVariable
    • SortSequence
    • Stylesheet
    • Span
    • StructureElement
    • Sub
    • Sup
    • Switch
    • Table
    • TableNewPage
    • Tablefoot
    • Tablehead
    • Tablerule
    • Td
    • Text
    • Textblock
    • Tr
    • Trace
    • Transformation
    • U
    • Ul
    • Until
    • URL
    • Value
    • VSpace
    • While
  • Dieses Handbuch auf Deutsch
speedata – let's surpass the mainstream
  • Main page
  • Command reference
  • Otherwise

Otherwise

Default branch of a Switch command.

Child elements

A, Action, AddSearchpath, AttachFile, Attribute, B, Barcode, Bookmark, Box, Br, ClearPage, Clip, Color, Column, Columns, Copy-of, DefineColor, DefineFontalias, DefineFontfamily, DefineMatter, DefineTextformat, Element, Fontface, ForAll, Frame, Group, HSpace, Hyphenation, I, Image, Include, Initial, InsertPages, Layout, Li, LoadDataset, LoadFontfile, Loop, Mark, Message, NextFrame, NextRow, NoBreak, Options, Output, Overlay, Pageformat, Pagetype, Paragraph, PlaceObject, PositioningArea, PositioningFrame, ProcessNode, SaveDataset, SavePages, SetGrid, SetVariable, SortSequence, Span, StructureElement, Sub, Sup, Switch, Table, TableNewPage, Tablehead, Tablerule, Td, Tr, Trace, Transformation, U, Until, VSpace, Value, While

Parent elements

Switch

Attributes

(none)

Example

See the example at Switch.

See also

The section programming.

  • Options
  • Output
  • Diese Seite auf Deutsch / This page in German

More information:

  • Blog
  • Website